package global

import (
	"github.com/gorilla/websocket"
)

type Node struct {
	Conn websocket.Conn
	Data chan []byte
}

var ClientMap map[int64]Node = make(map[int64]Node)

var Upgrader = websocket.Upgrader{

	ReadBufferSize:  1024,
	WriteBufferSize: 1024,
}
